package de.fhaugsburg.games.boardgames;

public class Player {
	private String name;
	private int id;
	static int idCounter = 0;
	private int scores;
	private int currentScores;
	
	
	
	public Player(String name) {
		this.name = name;
		idCounter++;
		id = idCounter;
		
	}
	public String getName() {
		return name;
	}
	public int getId() {
		return id;
	}
	public void setScores(int scores) {  //Gesamtpunkte
		
		this.scores += scores;
		
	}
	public String toString(){
		return "name: " +name +", id: " +id;
	}
	
	public int getScores() {
		return scores;
	}
	public void setCurrentScores(int scores) { //Punkteanzahl beim aktuellen Wort
		this.currentScores += scores;
		
	}
	public int getCurrentScores() {
		return currentScores;
	}
	public void resetCurrentScores() {
		currentScores = 0;
	}

}
